package com.fortune.service;

import com.faneui.common.exception.BusinessException;
import com.fortune.dal.model.CreditCardType;

import java.util.List;

public interface CreditCardTypeService {

    void addCreditCardType(CreditCardType creditCardType) throws BusinessException;

    void modifyCreditCardType(CreditCardType creditCardType) throws BusinessException ;

    CreditCardType queryCreditCardType(Integer bankId,String cardTypeName) throws BusinessException;

    CreditCardType queryCreditCardType(Integer creditCardTypeId)throws BusinessException ;

    List<CreditCardType> queryCreditCardTypeList(CreditCardType creditCardType)throws BusinessException ;
    
}
